/*
 * @Descripttion:
 * @version: 服务资源管理
 * @Author: Meow
 * @Date: 2019-09-26 16:15:48
 */
export const ServiceResources = [
  //  服务资源发布
  {
    name: "ResourcesIssue",
    path: "ResourcesIssue",
    meta: {
      requiresAuth: true // 说明需要鉴权
    },
    component: resolve =>
      require([
        "@/views/ServiceResources/ResourcesIssue/ResourcesIssueLogic"
      ], resolve)
  },
  //  服务资源管理
  {
    name: "ResourcesManagement",
    path: "ResourcesManagement",
    meta: {
      requiresAuth: true // 说明需要鉴权
    },
    component: resolve =>
      require([
        "@/views/ServiceResources/ResourcesManagement/ResourcesManagementLogic"
      ], resolve)
  },
  //  服务资源类型
  {
    name: "ResourceType",
    path: "ResourceType",
    meta: {
      requiresAuth: true // 说明需要鉴权
    },
    component: resolve =>
      require([
        "@/views/ServiceResources/ResourceType/ResourceTypeLogic"
      ], resolve)
  },
  //  服务资源管理
  {
    name: "ModelManagement",
    path: "ModelManagement",
    meta: {
      requiresAuth: true // 说明需要鉴权
    },
    component: resolve =>
      require([
        "@/views/ServiceResources/ModelManagement/ModelManagementLogic"
      ], resolve)
  }
];
